<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/graphbmp-tools.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('graphbmp-tools_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">includes/graphbmp-tools.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="graphbmp-tools_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef GRAPHBMP_TOOLS_H_</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define GRAPHBMP_TOOLS_H_</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="bmp-tools_8h.html">bmp-tools.h</a>&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="solution_8h.html">solution.h</a>&quot;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00016"></a>00016 
<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a80dc925e6879f85aa743543b7966ef6d" title="applica i servizi offerti da bmp-tools per offrire semplici strumenti per il disegno del grafo...">drawNode</a>(<a class="code" href="structImage.html">Pimage</a> img,<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y,<span class="keywordtype">int</span> radius,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> color);
<a name="l00033"></a>00033 
<a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a5f25250af99c4ca3ae2a14805b0f4a1f">drawNodes</a>(<a class="code" href="structImage.html">Pimage</a> img,<span class="keywordtype">int</span> N,<span class="keywordtype">float</span> graphradius,<span class="keywordtype">float</span> noderadius, <span class="keywordtype">int</span> depot,<span class="keywordtype">float</span> nodenumbergap,<span class="keywordtype">int</span> digitgap, <span class="keywordtype">int</span> numberheight, <span class="keywordtype">int</span> numberwidth, <span class="keywordtype">int</span> numberradius,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> numbercolor, <a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> normalcolor,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> depotcolor);
<a name="l00062"></a>00062 
<a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a734d67e36144120a5fe3cc18f7955e9a">drawSolution</a>(FILE* f,<a class="code" href="structSolution.html">Psolution</a> solution,<span class="keywordtype">int</span> depotnode,<span class="keywordtype">int</span> nodeRadius,<span class="keywordtype">int</span> nodeGap,<span class="keywordtype">int</span> nodeNumberGap,<span class="keywordtype">int</span> digitGap,<span class="keywordtype">int</span> numberHeight,<span class="keywordtype">int</span> NumberWidth,<span class="keywordtype">int</span> numberRadius,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> numberColor,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> nodeColor, <a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> depotColor);
<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a900a139794128eba994e5f1955624362">drawSolutionFromScratch</a>(<span class="keywordtype">char</span>* fileName,<a class="code" href="structSolution.html">Psolution</a> solution,<span class="keywordtype">int</span> depotnode,<span class="keywordtype">int</span> nodeRadius,<span class="keywordtype">int</span> nodeGap,<span class="keywordtype">int</span> nodeNumberGap,<span class="keywordtype">int</span> digitGap,<span class="keywordtype">int</span> numberHeight,<span class="keywordtype">int</span> NumberWidth,<span class="keywordtype">int</span> numberRadius,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> numberColor,<a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> nodeColor, <a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> depotColor);
<a name="l00117"></a>00117 
<a name="l00120"></a>00120 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a095a0ffd6a30b516ec39ab5376aea787">drawSolutionFromScratchDefaults</a>(<span class="keywordtype">char</span>* fileName, <a class="code" href="structSolution.html">Psolution</a> ps, <span class="keywordtype">int</span> depotnode);
<a name="l00121"></a>00121 
<a name="l00136"></a>00136 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a97195573422ef67cf08cee2bdd038012">getXYBMP</a>(<span class="keywordtype">int</span> N,<span class="keywordtype">int</span> n,<span class="keywordtype">float</span> graphradius,<span class="keywordtype">int</span> widthBMP,<span class="keywordtype">int</span> heightBMP,<span class="keywordtype">int</span>* x, <span class="keywordtype">int</span>*y);
<a name="l00137"></a>00137 
<a name="l00148"></a>00148 <span class="keywordtype">void</span> <a class="code" href="graphbmp-tools_8h.html#a9f253da9a4245ca07586212075c8567a">drawNodeLine</a>(<a class="code" href="structImage.html">Pimage</a> img, <span class="keywordtype">int</span> N,<span class="keywordtype">int</span> graphRadius,<span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to, <span class="keywordtype">int</span> lineradius, <a class="code" href="structRGB.html" title="gestisce in modo semplice una bitmap">RGB</a> color);
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="preprocessor">#endif </span><span class="comment">/* GRAPHBMP_TOOLS_H_ */</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="graphbmp-tools_8h.html">graphbmp-tools.h</a>      </li>

    <li class="footer">Generated on Wed Sep 4 2013 06:38:56 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
